import draggable from 'vuedraggable'

const dragOptions = {
  draggable:'.item'
};
export  default {
  components: {
    draggable
  },
  data(){
    return {
      time: new Date().getTime(),
      myArray: [
        {name: 'AAAA'},
        {name: 'b'},
        {name: 'c'},
        {name: 'd'},
      ]
    }
  },
  methods: {
    handleClick(){
      this.time = new Date().getTime();
      console.log("handleClick");
    },
    addPeople(){
      this.myArray.push({name: new Date().getTime()});
    }
  }
}
